package net.lainiao.morethread.Chapter4.demo7;

import java.util.Date;

/**
 * Created by Administrator on 2017/3/3.
 */
public class Task implements Runnable {
    private String name;

    public Task(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        System.out.println(this.name+" Start at " + new Date());
    }
}
